home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / Start.p < prev    next >
Encoding:
Text File  |  1997-08-12  |  2.5 KB  |  114 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Start.p
  3.  
  4.      Contains:    Start Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1987-1993, 1996-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT Start;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __START__}
  28. {$SETC __START__ := 1}
  29.  
  30. {$I+}
  31. {$SETC StartIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37.  
  38.  
  39. {$PUSH}
  40. {$ALIGN MAC68K}
  41. {$LibExport+}
  42.  
  43.  
  44.  
  45. TYPE
  46.     DefStartRecPtr = ^DefStartRec;
  47.     DefStartRec = RECORD
  48.         CASE INTEGER OF
  49.         0: (
  50.             sdExtDevID:            SignedByte;
  51.             sdPartition:        SignedByte;
  52.             sdSlotNum:            SignedByte;
  53.             sdSRsrcID:            SignedByte;
  54.            );
  55.         1: (
  56.             sdReserved1:        SignedByte;
  57.             sdReserved2:        SignedByte;
  58.             sdRefNum:            INTEGER;
  59.            );
  60.     END;
  61.  
  62.     DefStartPtr                            = ^DefStartRec;
  63.     DefStartPtrPtr                         = ^DefStartPtr;
  64.     DefVideoRecPtr = ^DefVideoRec;
  65.     DefVideoRec = RECORD
  66.         sdSlot:                    SignedByte;
  67.         sdsResource:            SignedByte;
  68.     END;
  69.  
  70.     DefVideoPtr                            = ^DefVideoRec;
  71.     DefOSRecPtr = ^DefOSRec;
  72.     DefOSRec = RECORD
  73.         sdReserved:                SignedByte;
  74.         sdOSType:                SignedByte;
  75.     END;
  76.  
  77.     DefOSPtr                            = ^DefOSRec;
  78. PROCEDURE GetDefaultStartup(paramBlock: DefStartPtr);
  79.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  80.     INLINE $205F, $A07D;
  81.     {$ENDC}
  82. PROCEDURE SetDefaultStartup(paramBlock: DefStartPtr);
  83.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  84.     INLINE $205F, $A07E;
  85.     {$ENDC}
  86. PROCEDURE GetVideoDefault(paramBlock: DefVideoPtr);
  87.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  88.     INLINE $205F, $A080;
  89.     {$ENDC}
  90. PROCEDURE SetVideoDefault(paramBlock: DefVideoPtr);
  91.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  92.     INLINE $205F, $A081;
  93.     {$ENDC}
  94. PROCEDURE GetOSDefault(paramBlock: DefOSPtr);
  95.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  96.     INLINE $205F, $A084;
  97.     {$ENDC}
  98. PROCEDURE SetOSDefault(paramBlock: DefOSPtr);
  99.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  100.     INLINE $205F, $A083;
  101.     {$ENDC}
  102. PROCEDURE SetTimeout(count: INTEGER);
  103. PROCEDURE GetTimeout(VAR count: INTEGER);
  104. {$ALIGN RESET}
  105. {$POP}
  106.  
  107. {$SETC UsingIncludes := StartIncludes}
  108.  
  109. {$ENDC} {__START__}
  110.  
  111. {$IFC NOT UsingIncludes}
  112.  END.
  113. {$ENDC}
  114.